package cn.wolfcode.trip.base.domain;

import cn.wolfcode.trip.base.util.JSONUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Setter
@Getter
public class Sysnotice extends BaseDomain{

    private String title;  // 消息标题

    private String content;  // 消息内容

    @JsonFormat(pattern = "yyyy-MM-dd ")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date releasetime;  //  推送时间

    private String releaserId;  // 推送者id

    private String releasername;  // 推送者姓名

    private Integer state;  // 阅读状态

    private Integer type;  // 通知类型

    private Long user_id;  // 用户id


}